This forum is closed to new posts and
responses. The content has been migrated to the Digital Solutions Community. Please join us there for new content as well as this content. For customer support, please visit the official HCL customer support channels below:
RE: Attachement question ~Umberto Nongeroson 19.Jan.04 02:16 AM a Web browser Domino Designer 6.0.1All Platforms
You have to create the attachment using the front end Notes client methods. If you use NotesRichTextItem.EmbedObject, the update to the rich text field is not reflected in the UI. When they save, the rich text is saved as it's shown on the screen. So the attachment still exists in the document, but the little flag in the rich text that says "file such and such is attached here" doesn't get saved.
There are some tricky ways around this, one of which involves setting the SaveOptions field to "0" and attempting to save. This has been discussed in this forum or the Notes 4/5 forum. But in this case is would be easier to just use the @Command([EditInsertFileAttachment]; ...) to create your attachment in the front-end.